package cn.edu.scau.repository.base;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.io.Serializable;

/**
 * @description: 封装的基础Repository
 * @author: yuxiang
 * @create: 2020-12-29 18:00
 **/
@NoRepositoryBean//不纳入repository管理
public interface BaseRepository<T, ID extends Serializable> extends JpaRepository<T, ID>
      , PagingAndSortingRepository<T, ID>
      , JpaSpecificationExecutor<T> {
}
